package io.unicorn.modules.waterfgs.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * ${comments}
 * 
 * @author LNCG
 * @email LNCG@USTL.EDU.CN
 * @date 2023-04-03 16:49:58
 */
@Data
@TableName("Gather_DB.dbo.V_Data_Err_Alert_Fixed")
public class DataErrAlertFixedFgsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * $column.comments
	 */
	@TableId
	private Integer opKey;
	/**
	 * $column.comments
	 */
	private String opAddDate;
	/**
	 * $column.comments
	 */
	private String deviceId;
	/**
	 * $column.comments
	 */
	private Date nowDate;
	/**
	 * $column.comments
	 */
	private BigDecimal nowData;
	/**
	 * $column.comments
	 */
	private String deviceStatus;
	/**
	 * $column.comments
	 */
	private Integer statusCode;
	/**
	 * $column.comments
	 */
	private BigDecimal agoData;
	/**
	 * $column.comments
	 */
	private String agoDeviceStatus;
	/**
	 * $column.comments
	 */
	private String proName;
	/**
	 * $column.comments
	 */
	private Integer deviceCount;
	/**
	 * $column.comments
	 */
	private String installerName;
	/**
	 * $column.comments
	 */
	private String installerPhone;
	/**
	 * $column.comments
	 */
	private String debugerName;
	/**
	 * $column.comments
	 */
	private String debugerPhone;
	/**
	 * $column.comments
	 */
	private Integer masterNum;
	/**
	 * $column.comments
	 */
	private Integer slaveNum;
	/**
	 * $column.comments
	 */
	private Integer cardNum;
	/**
	 * $column.comments
	 */
	private Integer deviceArea;
	/**
	 * $column.comments
	 */
	private Integer deviceNei;
	/**
	 * $column.comments
	 */
	private Integer deviceBuild;
	/**
	 * $column.comments
	 */
	private Integer deviceUnit;
	/**
	 * $column.comments
	 */
	private Integer routeNum;
	/**
	 * $column.comments
	 */
	private Integer meterNum;
	/**
	 * $column.comments
	 */
	private String deviceAddress;
	/**
	 * $column.comments
	 */
	private String deviceAddressCode;
	/**
	 * $column.comments
	 */
	private String clientId;
	/**
	 * $column.comments
	 */
	private String clientName;
	/**
	 * $column.comments
	 */
	private String clientSex;
	/**
	 * $column.comments
	 */
	private String clientAge;
	/**
	 * $column.comments
	 */
	private String clientIdCard;
	/**
	 * $column.comments
	 */
	private String buildNum;
	/**
	 * $column.comments
	 */
	private String unitNum;
	/**
	 * $column.comments
	 */
	private String houseNum;
	/**
	 * $column.comments
	 */
	private String cityName;
	/**
	 * $column.comments
	 */
	private String areaName;
	/**
	 * $column.comments
	 */
	private String cityId;
	/**
	 * $column.comments
	 */
	private String areaId;
	/**
	 * $column.comments
	 */
	private Integer unitIdG;
	/**
	 * $column.comments
	 */
	private String unitNameG;
	/**
	 * $column.comments
	 */
	private Integer unitIdW;
	/**
	 * $column.comments
	 */
	private String unitNameW;
	/**
	 * $column.comments
	 */
	private Integer delFlag;
	/**
	 * $column.comments
	 */
	private String clientAddress;
	/**
	 * $column.comments
	 */
	private Integer typeCode;
	/**
	 * $column.comments
	 */
	private String typeName;
	/**
	 * $column.comments
	 */
	private Integer abnormal;
	/**
	 * $column.comments
	 */
	private Integer proTypeId;
	/**
	 * $column.comments
	 */
	private String modeName;
	/**
	 * $column.comments
	 */
	private String deptId;
	/**
	 * $column.comments
	 */
	private Integer unitId;

	public static Map<String, String> getHeadName(){
		Map<String, String> headMap = new LinkedHashMap<String, String>();

		headMap.put("opAddDate","加入时间");
		headMap.put("deviceId","设备编码");
		headMap.put("nowDate","数据日期");
		headMap.put("nowData","当前数据");
		headMap.put("deviceStatus","设备状态");
		headMap.put("statusCode","状态码");
		headMap.put("agoData","之前数据");
		headMap.put("agoDeviceStatus","之前状态");
		headMap.put("proName","小区名称");
		headMap.put("deviceCount","设备数");
		headMap.put("installerName","安装员");
		headMap.put("installerPhone","安装员电话");
		headMap.put("debugerName","调试人");
		headMap.put("debugerPhone","调试人电话");
		headMap.put("masterNum","masterNum");
		headMap.put("slaveNum","slaveNum");
		headMap.put("cardNum","cardNum");
		headMap.put("deviceArea","deviceArea");
		headMap.put("deviceNei","deviceNei");
		headMap.put("deviceBuild","deviceBuild");
		headMap.put("deviceUnit","deviceUnit");
		headMap.put("routeNum","routeNum");
		headMap.put("meterNum","meterNum");
		headMap.put("deviceAddress","设备地址");
		headMap.put("deviceAddressCode","设备码");
		headMap.put("clientId","客户码");
		headMap.put("clientName","客户名");
		headMap.put("clientSex","性别");
		headMap.put("clientAge","年龄");
		headMap.put("clientIdCard","证件号码");
		headMap.put("buildNum","楼号");
		headMap.put("unitNum","单元号");
		headMap.put("houseNum","房间号");
		headMap.put("cityName","城市");
		headMap.put("areaName","区域");
		headMap.put("cityId","城市码");
		headMap.put("areaId","区域码");
		headMap.put("unitIdG","管理所码气");
		headMap.put("unitNameG","管理所名气");
		headMap.put("unitIdW","管理所码");
		headMap.put("unitNameW","管理所名");
		headMap.put("delFlag","是否删除");
		headMap.put("clientAddress","客户地址");
		headMap.put("typeCode","类型码");
		headMap.put("typeName","类型名");
		headMap.put("abnormal","异常");
		headMap.put("proTypeId","采集码");
		headMap.put("modeName","模式名");
		headMap.put("deptId","管理码");

		return headMap;
	};

}
